const Mock = require("mockjs");
require("../models/relation");
const result = Mock.mock({
    "datas|500-700": [
        {
            name: "@cname",
            birthday: "@date",
            "sex|1-2": true,
            phone: /1\d{10}/,
            //   location: "@city(true)",
            "ClassId|1-16": 0,
        },
    ],
}).datas;
console.log(result);
const Student = require("../models/Student");
Student.bulkCreate(result);
